#ifndef __OBS_AGENT_MGR_
#define __OBS_AGENT_MGR_
#include "DetourTileCache.h"
#include "DetourNavMesh.h"
#include "common.h"
#include <map>

class CObstacleAgentMgr
{
public:
	void Init(dtTileCache* pTileCache, dtNavMesh *pNav);
	bool AddAgent(MONSTER_ID idx, const float* pos, float radius, float height);
	bool RemoveAgent(MONSTER_ID idx);
private:
	dtTileCache* m_tileCache;
	dtNavMesh* m_nav;
	std::map<MONSTER_ID/*idx*/, dtObstacleRef> m_MapObstacle;
};
#endif

